package com.sdms.core.auth;

import com.sdms.core.SupportedOperation;

public interface IAuthoriseService 
{
	/**
	 * Authorize the user privileges for authenticated user
	 * @param userName
	 * @return
	 */
	public void authoriseUser(String sessionId, SupportedOperation op) throws UnauthorisedUserException ;
	
	public void clearPriviledges();
	
	public void clearExistingPreviousPriviledgesAddNewPriviledges(SupportedOperation op);
	
	public void changeUserPriviledges( String sessionId ) throws UnauthorisedUserException;
	
}
